import request from '@/utils/request'


export const getCourseList = (data) => {
  return request({
    url:'eduservice/coursefront/getCourseList',
    method:'get',
    params:data
  })
}

export const getAllSubject = (data) => {
  return request({
    url:'eduservice/subject/getAllSubject',
    method:'get',
    params:data
  })
}

export const getCourse = (data) => {
  return request({
    url:`eduservice/coursefront/getCourse/${data}`,
    method:'get',
  })
}
export default { getCourseList, getAllSubject, getCourse }